package com.demo.domain;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="b_message")
public class Message {

	@Id
	private String id;
	@Column(name="type")
	private Integer type;
	@Column(name="target")
	private String target;
	@Column(name="content")
	private String content;
	@Column(name="redirect_type")
	private Integer redirectType;
	@Column(name="redirect_content")
	private String redirectContent;
	@Column(name="state")
	private Integer state;
	@Column(name="num")
	private Integer num;
	@Column(name="area_code")
	private String areaCode;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public Integer getType(){
		return type;
	}
	public void setType(Integer type){
		this.type = type;
	}
	public String getTarget(){
		return target;
	}
	public void setTarget(String target){
		this.target = target;
	}
	public String getContent(){
		return content;
	}
	public void setContent(String content){
		this.content = content;
	}
	public Integer getRedirectType(){
		return redirectType;
	}
	public void setRedirectType(Integer redirectType){
		this.redirectType = redirectType;
	}
	public String getRedirectContent(){
		return redirectContent;
	}
	public void setRedirectContent(String redirectContent){
		this.redirectContent = redirectContent;
	}
	public Integer getState(){
		return state;
	}
	public void setState(Integer state){
		this.state = state;
	}
	public Integer getNum(){
		return num;
	}
	public void setNum(Integer num){
		this.num = num;
	}
	public String getAreaCode(){
		return areaCode;
	}
	public void setAreaCode(String areaCode){
		this.areaCode = areaCode;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	
}
